import request from "@/utils/request";

// 首页时间查询设置
export function homePageTimeSettingApi(data) {
  return request({
    url: "/button/update",
    method: "post",
    data: data,
  });
}

// 获取首页时间查询
export function getHomePageTimeSettingListApi(query) {
  return request({
    url: "/button/switch",
    method: "get",
    params: query,
  });
}
// 员工账号首页数据展示
export function getHomePageBanjieSettingApi(query) {
  return request({
    url: "/staff/employee/show/list",
    method: "get",
    params: query,
  });
}
// 员工账号首页数据编辑
export function editHomePageBanjieSettingApi(query) {
  return request({
    url: "/staff/employee/show/update",
    method: "get",
    params: query,
  });
}

// /prod-api/staff/query?page=1&pageSize=999&enterpriseId=173
// 白班夜班员工
export function staffQuery(query) {
  return request({
    url: "/staff/query",
    method: "get",
    params: query,
  });
}

// 小程序是否展示实付0默认不显示1显示
export function  xcxActualPayment(query) {
  return request({
    url: '/staff/employee/show/xcxActualPayment',
    params: query
  })
}
// 查看小程序是否展示实付
export function  xcxActualPaymentDetail(query) {
  return request({
    url: '/staff/employee/show/xcxActualPaymentDetail',
    params: query
  })
}
